class calci {

public static void printEven(int num1,int num2) {

for(int i=num1; i<=num2; i++)
{
if(i % 2 == 0) 
System.out.println(" " + i);
}
}

public static void printOdd(int num1,int num2)
{
for(int i=num1;i<=num2;i++)
{
if(i % 2 !== 0)
System.out.println(" " +i);
}
}
public static int[] Fibo(int num) {

int fib[] = new int[num];
fib[0]=0;
fib[1]=1;
for(int i=2;i<fib.length;i++)
{
	fib[i] = fib[i-1] + fib[i-2];
}
return fib;
}


public static char[] reverseArr(char[] ab)
{
char[] rev = new char[ab.length];
int i,j;
for(i=0,j=ab.length-1;j>=0;i++,j--)
{
rev[j] = ab[i];
}
return rev;
}


public static void isPrime(int[] p)
{
for(int i=0;i<p.length;i++)
{
if(p[i] % 2 != 0) 
System.out.println(" " + p[i]);

}
}

public static void printArray(int[] array) {
	for(int i=0; i<array.length; i++)
		System.out.println(array[i]);
}
}
